import { createAPI, createFormAPI } from '@/utils/request'

export const insertSowMatingRecords = data => createFormAPI('/admin/sowMatingRecords', 'post', data)
export const deleteSowMatingRecords = data => createAPI(`/admin/sowMatingRecords/${data.id}`, 'delete', data)
export const updateSowMatingRecords = data => createAPI('/admin/sowMatingRecords', 'put', data)
export const selectSowMatingRecords = data => createAPI('/admin/sowMatingRecords', 'get', data)
export const sowMatingRecordsNum=data =>createAPI('/admin/sowMatingRecordsNum',"get",data)
